package com.leyou.auth.mapper;

import com.leyou.auth.entity.ApplicationInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ApplicationMapper extends Mapper<ApplicationInfo> {
    @Select("select ap.target_id from tb_application_privilege ap where ap.service_id = #{id} ")
    List<Long> selectAppTargetList(@Param("id") Long id);
}
